package com.hliushi.demo.service;

import com.hliushi.demo.entity.CityDictionary;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * CityDictionary service层
 *
 * @author auto generated
 * @date 2021-07-21 10:46:23
 */
public interface CityDictionaryService {


    CityDictionary addDict(CityDictionary cityDictionary);

    //
    //
    CityDictionary update(CityDictionary dictionaryService);

    //
    //
    void delete(String dictId);

    //
    //
    List<CityDictionary> getList();


    // @Transactional(readOnly = true)
    // public List<CityDictionary> getList() {
    //     return cityDictionaryRepository.findAll();
    // }
    Page<CityDictionary> getListPage(Pageable pageable);
}
